この手順では、Windows ストアアプリケーションを設定し、C1Scheduler コントロールを追加します。UWP スタイルアプリケーションの作成の詳細については、「UWP スタイルアプリケーションの作成」を参照してください。
次の手順に従います。
- C1.UWP
- C1.UWP.Calendar
- C1.UWP.DateTimeEditors
- C1.UWP.Schedule
マークアップ コードのコピーxmlns:Schedule="using:C1.Xaml.Schedule" <Page> タグ全体は次のようになります。
マークアップ コードのコピー<Page
x:Class="SchedTest2.MainPage"
xmlns:Schedule="using:C1.Xaml.Schedule"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:SchedTest2"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
マークアップ コードのコピー<Schedule:C1Scheduler Name="sched1" ViewType="Month" Grid.Row="1" Height="500" Width="650"></Schedule:C1Scheduler>
このトピックでは、Windows ストアアプリケーションを作成し、そのアプリケーションにアセンブリ参照と C1Scheduler コントロールを追加しました。次の手順では、アプリケーションにさらに XAML マークアップを追加し、コントロールのビューを制御するためのボタンを追加します。